package lab02.test12;

public class Rectangular extends Shape{

double a;
double b;
   double getArea(){return a * b; }
   double getLength(){return ( a + b)/2; }
    void area(){
      System.out.println("长方形的面积");
   }
    void length(){
      System.out.println("长方形的周长");
   }
}
